const express = require('express');
// 创建服务器
const app = express();
// 注册路由
app.use('/api', require('./router'));
// 开启服务器
app.listen(80, () => console.log('Server running at http://127.0.0.1'));
